package net.sk.china.platform.service.upload;

import com.qcloud.cos.COSClient;
import net.sk.china.platform.response.CloudResponse;

import java.io.File;

/**
 * CosService 接口
 * +----------------------------------------------------------------------
 * | Talk To [ 聊来改善地区金融服务环境，助力企业发展 ]
 * +----------------------------------------------------------------------
 * | Copyright (c) 2018-2024 聊来All rights reserved.
 * +----------------------------------------------------------------------
 * | Licensed ( <a href="http://www.apache.org/licenses/LICENSE-2.0">apache</a> )
 * +----------------------------------------------------------------------
 * | @Author: 聊来 <18970881148@qq.com>
 * +----------------------------------------------------------------------
 * | DateTime: 2024/6/2 18:03
 * +----------------------------------------------------------------------
 */
public interface CosService {

    void uploadFile(CloudResponse cloud, String webPth, String localFile, Integer id, COSClient cosClient);

    void uploadFile(CloudResponse cloud, String webPth, String localFile, File file, COSClient cosClient);
}
